package tinybase.pf;

public class Statistic {
	
	public static final int STAT_BASE= 9000;
	public String psKey;
	public int iValue;
	
	
	public static final String PF_GETPAGE= "GETPAGE";
	public static final String PF_PAGEFOUND= "PAGEFOUND";
	public static final String PF_PAGENOTNOUND= "PAGENOTFOUND";
	public static final String PF_READPAGE= "READPAGE";
	public static final String PF_WRITEPAGE= "WRITEPAGE";
	public static final String PF_FLUSHPAGES= "FLUSHPAGES";
	
	
	public Statistic() {
		psKey= null;
		iValue= 0;
	}
	
	public Statistic(String psName) {
		this.psKey= new String(psName);
		iValue= 0;
	}
	
	public Statistic(Statistic stat) {
		this.psKey= new String(stat.psKey);
		this.iValue= stat.iValue;
	}
	
}
